package com.copa.service;

import com.copa.entity.News;

import java.util.List;

/**
 * @author copa
 * @createDate 2022-02-24 22:48
 * @function
 */
public interface NewsService {

    void insert(News news);

    News getNewsById(Integer topNum);

    List<News> getDayNews();
}
